package C;

public class Student {
    String name;
    int age;
    static int money;

    public Student(){

    }
    public Student(String name,int age){
        this.name = name;
        this.age = age;
    }
    public void m1(){
        System.out.println("实例方法");
        System.out.println(this.name);
        System.out.println(this.age);
        m2();
    }
    public static void m2(){
        System.out.println("静态方法");
        System.out.println(money);
    }
}
